package com.search.service.impl;

import com.search.service.Add3Service;
import org.springframework.stereotype.Service;

@Service
public class Add3ServiceImpl extends Add3Service {

    @Override
    public int add() throws InterruptedException {
        do{
            num++;
            Thread.sleep(100);
        }while (num<200);

        return 999;
    }
}
